package com.nuoniu.sibanyun.entity.dto;

import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName MenuSaveDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/5/21 10:20
 **/
@Data
public class MenuSaveDto extends BaseEntity {

    @ApiModelProperty(value = "父级编号")
    private Integer parentId;

    @ApiModelProperty(value = "所有父级编号")
    private String parentIds;

    @ApiModelProperty(value = "本级排序号（升序）")
    private Integer treeSort;

    @ApiModelProperty(value = "所有级别排序号")
    private String treeSorts;

    @ApiModelProperty(value = "是否最末级")
    private Boolean treeLeaf;

    @ApiModelProperty(value = "层次级别")
    private BigDecimal treeLevel;

    @ApiModelProperty(value = "全节点名")
    private String treeNames;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "页面地址")
    private String viewPath;

    @ApiModelProperty(value = "组件名称")
    private String component;

    @ApiModelProperty(value = "重定向路径")
    private String redirect;

    @ApiModelProperty(value = "是否缓存页面")
    private Boolean keepAlive;

    @ApiModelProperty(value = "菜单类型（1菜单 2权限 3开发）")
    private Integer menuType;

    @ApiModelProperty(value = "链接")
    private String menuHref;

    @ApiModelProperty(value = "目标")
    private String menuTarget;

    @ApiModelProperty(value = "图标")
    private String menuIcon;

    @ApiModelProperty(value = "颜色")
    private String menuColor;

    @ApiModelProperty(value = "权限标识")
    private String permission;

    @ApiModelProperty(value = "菜单权重 1：默认权限 2：二级管理员 3：系统管理员 4：超级管理员")
    private Integer weight;

    @ApiModelProperty(value = "是否显示（1显示 0隐藏）")
    private Boolean isShow;

    @ApiModelProperty(value = "归属系统（default:主导航菜单、mobileApp:APP菜单）")
    private String sysCode;

    @ApiModelProperty(value = "归属模块（多个用逗号隔开）")
    private String moduleCodes;

    @ApiModelProperty(value = "app是否显示")
    private Boolean isAppEnable;

    @ApiModelProperty(value = "app菜单名称")
    private String appMenuName;

    @ApiModelProperty(value = "app页面地址")
    private String appPagePath;

    @ApiModelProperty(value = "app菜单字体图标")
    private String appIcon;


    @ApiModelProperty(value = "备注")
    private String remarks;
}
